package com.qianya.oa.mapper;

import com.qianya.oa.domain.FormInstData;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FormInstDataMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FormInstData record);

    int insertOrUpdate(FormInstData record);

    int insertOrUpdateSelective(FormInstData record);

    int insertSelective(FormInstData record);

    FormInstData selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FormInstData record);

    int updateByPrimaryKey(FormInstData record);

    int updateBatch(List<FormInstData> list);

    int batchInsert(@Param("list") List<FormInstData> list);

    List<FormInstData> selectByProcInstIdAndFormKey(@Param("procInstId") String procInstId, @Param("formKey") String formKey);
}